import request from '../utils/request'
import qs from 'qs'

export let getlistApi = (params) => request({
    url: "/exam/list",
    method: "get",
    params
})


export let addlistApi = (data) => request({
    url: "/exam/addlist",
    method: "post",
    data: qs.stringify({ ...data })
})


export let updatelistApi = (data) => request({
    url: "/exam/updatelist",
    method: "post",
    data: qs.stringify({ ...data })
})


export let dellistApi = (params) => request({
    url: "/exam/dellist",
    method: "get",
    params
})


export let getFiftyQuestionsApi = (params) => request({
    url: "/exam/questions",
    method: "get",
    params
})



